home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FDUP(2) MiNT SYSTEM CALLS FDUP(2)
-
-
- N✓NA✓AM✓ME✓E
- Fdup - duplicate a standard file handle
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <osbind.h>
-
- int Fdup(int handle);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- A duplicate file handle is returned for the standard han-
- dle indicated by handle.
-
- Standard handles are:
- 0 keyboard (stdin)
- 1 screen (stdout)
- 2 serial port
- 3 parallel port
- 4 MIDI input (MiNT)
- 5 MIDI output (MiNT)
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- F✓Ff✓fo✓or✓rc✓ce✓e(✓(2✓2)✓),✓, F✓Fc✓cn✓nt✓tl✓l(✓(2✓2)✓)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-